package com.teemor.blog.service;

import com.teemor.blog.entity.TbTopic;
import com.teemor.blog.entity.condition.TbTopicCondition;
import java.util.List;

public interface ITopicService {
     /** @Function: com.teemor.blog.service.ITopicService.countTopic
* @Description: 统计条数
* @param: condition
* @return: int
* @version: v1.0.0
* @author: zhoulk
* @date: 2019/08/05 11:20:45
*
* Modification History:
* Date         Author          Version            Description
*------------------------------------------------------*
* 2019/08/05 11:20:45     zhoulk           v1.0.0             修改原因
*
*/
    int countTopic(TbTopicCondition condition);

     /** @Function: com.teemor.blog.service.ITopicService.qryTopics
* @Description: 查询列表
* @param: condition
* @return: int
* @version: v1.0.0
* @author: zhoulk
* @date: 2019/08/05 11:20:45
*
* Modification History:
* Date         Author          Version            Description
*------------------------------------------------------*
* 2019/08/05 11:20:45     zhoulk           v1.0.0             修改原因
*
*/
    List<TbTopic> qryTopics(TbTopicCondition condition);

     /** @Function: com.teemor.blog.service.ITopicService.qryTopicById
* @Description: 根据主键查询
* @param: topicId
* @return: int
* @version: v1.0.0
* @author: zhoulk
* @date: 2019/08/05 11:20:45
*
* Modification History:
* Date         Author          Version            Description
*------------------------------------------------------*
* 2019/08/05 11:20:45     zhoulk           v1.0.0             修改原因
*
*/
    TbTopic qryTopicById(Integer topicId);

     /** @Function: com.teemor.blog.service.ITopicService.addTopic
* @Description: 插入信息
* @param: inParam
* @return: int
* @version: v1.0.0
* @author: zhoulk
* @date: 2019/08/05 11:20:45
*
* Modification History:
* Date         Author          Version            Description
*------------------------------------------------------*
* 2019/08/05 11:20:45     zhoulk           v1.0.0             修改原因
*
*/
    int addTopic(TbTopic inParam);

     /** @Function: com.teemor.blog.service.ITopicService.updTopicById
* @Description: 根据主键更新信息
* @param: inParam
* @return: int
* @version: v1.0.0
* @author: zhoulk
* @date: 2019/08/05 11:20:45
*
* Modification History:
* Date         Author          Version            Description
*------------------------------------------------------*
* 2019/08/05 11:20:45     zhoulk           v1.0.0             修改原因
*
*/
    int updTopicById(TbTopic inParam);
}